
using System;

/// <summary>
/// We use Exception instead of ApplicationException
/// because of http://blogs.msdn.com/brada/archive/2004/03/25/96251.aspx
/// 
/// Shouldn't affect coding at all. Just pointing out the reasoning ;)
/// </summary>
namespace Subsync
{
	/// <summary>
	/// Author: Steven Goh Jian Wen
	/// </summary>	
	[Serializable]
	public class BaseException : Exception
	{
		
		public string ErrorMessage
		{
			get
			{
			    return base.Message.ToString();
			}
		}

		
		public BaseException(string errorMessage): base(errorMessage) {}
		public BaseException(string errorMessage, Exception innerEx) : base(errorMessage, innerEx) {}

	}
	
}
